package com.jzo2o.customer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.common.model.PageResult;
import com.jzo2o.customer.model.domain.WorkerCertificationAudit;
import com.jzo2o.customer.model.dto.request.WorkerCertificationAuditPageQueryReqDTO;
import com.jzo2o.customer.model.dto.response.WorkerCertificationAuditDTO;

/**
 * TODO
 *
 * @Author mr.luo
 * @Date 02 7月 2025 00:26
 */
public interface ICertificationAuditService extends IService<WorkerCertificationAudit> {
    /**
     * 分页查询服务人员认证信息
     *
     * @param dto
     * @return
     */
    PageResult<WorkerCertificationAuditDTO> queryPage(WorkerCertificationAuditPageQueryReqDTO dto);

    /**
     * 认证信息审核
     *
     * @param id
     * @param certificationStatus
     * @param rejectReason
     */
    void waarmerk(Long id, Integer certificationStatus, String rejectReason);
}
